package com.bms.entity;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

/**
 * 发布服务器信息
 * 
 * @author Lan
 * 
 */
@Entity
@Table(name = "T_PUBFTP")
public class FtpServer extends BaseEntity {

	private static final long serialVersionUID = -3525977501513717768L;

	private String url;
	private Integer port;
	private String username;
	private String password;

	public FtpServer() {
	}

	public FtpServer(String url, Integer port, String username,
			String password) {
		this.url = url;
		this.port = port;
		this.username = username;
		this.password = password;
	}
	
	@Column(length = 20)
	public String getUrl() {
		return url;
	}

	public void setUrl(String url) {
		this.url = url;
	}

	public Integer getPort() {
		return port;
	}

	public void setPort(Integer port) {
		this.port = port;
	}

	@Column(length = 20)
	public String getUsername() {
		return username;
	}

	public void setUsername(String username) {
		this.username = username;
	}

	@Column(length = 20)
	public String getPassword() {
		return password;
	}

	public void setPassword(String password) {
		this.password = password;
	}

}
